.class Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;
.super Landroid/view/GestureDetector;
.source "DebugGestureDetector.java"


# instance fields
.field private final mListener:Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;)V
    .locals 0
    .parameter "context"
    .parameter "listener"

    .prologue
    .line 41
    invoke-direct {p0, p1, p2}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    .line 42
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;->mListener:Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;

    .line 43
    return-void
.end method


# virtual methods
.method public onInterceptTouch(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "ev"

    .prologue
    .line 51
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;->mListener:Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;->isDebugModeEnabled()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-super {p0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "ev"

    .prologue
    .line 47
    invoke-super {p0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method
